<h3><?php echo $this->paginator->getTotalItemCount() ?> Users</h3>
<?php if (count($this->paginator)): ?>
<?php echo $this->paginationControl($this->paginator, 'Elastic', '/partials/_paginatorEntries.phtml'); ?>
    <ul class="entry-list">
    <?php foreach ($this->paginator as $user): ?>
        <li>
            <div id="title"><?php echo $user['username'] ?></div>
            <div id="operation">
                <?php if($user['disabled']): ?>
                    <a href="/admin/user/unlock/id/<?php echo $user['id'] ?>/page/<?php echo $this->paginator->getCurrentPageNumber() ?>">unlock</a>
                <?php else: ?>
                    <a href="/admin/user/lock/id/<?php echo $user['id'] ?>/page/<?php echo $this->paginator->getCurrentPageNumber() ?>">lock</a>
                <?php endif; ?>
            </div>
        </li>
    <?php endforeach; ?>
    </ul>
<?php endif; ?>